Method and Apparatus for Implementing Mobile Broadband Device Service

ABSTRACT

A method and an apparatus for implementing a mobile broadband device service includes, obtaining, service information of a mobile broadband device according to a rule set on the host or by calling an application programming interface (API) of a web server on the mobile broadband device, and in order to use a corresponding function of the host for implementing a mobile broadband device service corresponding to the service information, the method further includes executing, the corresponding function of the host by calling an API provided by an operating system (OS) of the host to implement the mobile broadband device service.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.15/969,336 filed on May 2, 2018, which is a continuation of U.S. patentapplication Ser. No. 14/288,870 filed on May 28, 2014, now U.S. Pat. No.10/257,811, which is a continuation of International Patent ApplicationNo. PCT/CN2013/077897 filed on Jun. 25, 2013, which claims priority toChinese Patent Application No. 201210209841.4 filed on Jun. 25, 2012.All of the aforementioned patent applications are hereby incorporated byreference in their entireties.

TECHNICAL FIELD

The present disclosure relates to the field of mobile broadband (MBB)technologies, and in particular, to a method and an apparatus forimplementing a mobile broadband device service.

BACKGROUND

In recent years, with the booming of MBB technologies, mobile broadbanddevices, as terminal devices thereof, have also witnessed unprecedenteddevelopment. A 3rd-generation (3G) data card and a 3G Universal SerialBus (USB) modem are most typical.

Currently, a mobile broadband device is managed correspondingly toimplement dial-up access, short message, and phone book services of themobile broadband device and the like. The mobile broadband device may bemanaged by host client software that matches the mobile broadbanddevice, for example, personal computer (PC) client software. However, inthe management of mobile broadband devices, host operating systems (OSs)are not unified, almost every type of OS platform has its own particulardevelopment platform and programming language, and the host clientsoftware cannot be compatible with OS platforms of all types. Therefore,cross-platform support cannot be implemented on the client if the mobilebroadband device is managed using the host client software.

In the other approaches, there is a method for managing the mobilebroadband device in a web manner such that the host can manage themobile broadband device without the client software, thereby solving aproblem of cross-platform support of the client. Regarding themanagement in the web manner, an embedded web server is integrated intothe mobile broadband device, a web management page is embedded toreceive a management command of a user, and the web server executes acorresponding management command flow in order to implement a mobilebroadband device service corresponding to the management command.Further, the web server may be used to view corresponding serviceinformation.

During implementation of the present disclosure, the inventors find thatbecause the management in the web manner is a management manner based ona web page, if the mobile broadband device is detached from the webmanagement page, that is, the host does not use a browser to open theweb management page of the mobile broadband device to manage the mobilebroadband device, some services such as a reminder-type service cannotbe implemented. In addition, for security concern and the like, callinga part of functions of the host by web page management is limited at thebeginning of a design of the web page management. Therefore, there are alot of limitations when the mobile broadband device is managed in theweb manner.

SUMMARY

In view of this, embodiments of the present disclosure provide a methodand a host apparatus for implementing a mobile broadband device servicein order to reduce limitations when a mobile broadband device is managedin a web manner.

In order to achieve the above objective, the present disclosure providesthe following technical solutions.

A method for implementing a mobile broadband device service is provided,where a host is connected to a mobile broadband device, and the methodincludes obtaining, by the host, service information of the mobilebroadband device according to a rule set on the host or by calling anapplication programming interface (API) of a web server on the mobilebroadband device, and if a corresponding function of the host is to beused for implementing a mobile broadband device service corresponding tothe service information, executing, by the host, the correspondingfunction of the host by calling an API provided by an OS of the host, toimplement the mobile broadband device service.

If the corresponding function of the host is not to be used forimplementing the mobile broadband device service corresponding to theservice information, the host calls the API of the web server on themobile broadband device to implement the mobile broadband deviceservice.

The calling the API of the web server includes calling a HypertextTransfer Protocol (HTTP) API or a socket interface of the web server.

The mobile broadband device service includes a reminder service, and theexecuting the corresponding function of the host includes executing areminder function of the host, and displaying reminder information inthe reminder-type service information on the host.

The mobile broadband device service includes a network adaptationservice, and the executing the corresponding function of the host bycalling an API provided by an OS of the host includes obtaining nearbyWI-FI network information by calling a WI-FI API of the OS of the host,comparing mobile broadband service information with the WI-FI networkinformation, determining a current adaptive network according to apreset network adaptation standard, and establishing a networkconnection with the current adaptive network.

An embodiment of the present disclosure further provides an apparatusfor implementing a mobile broadband device service, where a host isconnected to a mobile broadband device, and the apparatus includes aservice information obtaining module configured to obtain serviceinformation of the mobile broadband device according to a rule set onthe host or by calling an API of a web server on the mobile broadbanddevice, a judging module configured to determine whether a correspondingfunction of the host is to be used for implementing a mobile broadbanddevice service corresponding to the service information, and a serviceimplementation module configured to execute, if the correspondingfunction of the host is to be used for implementing the mobile broadbanddevice service corresponding to the service information, thecorresponding function of the host by calling an API provided by an OSof the host, to implement the mobile broadband device service.

The service implementation module is further configured to call, by thehost, if the corresponding function of the host is not to be used forimplementing the mobile broadband device service corresponding to theservice information, the API of the web server on the mobile broadbanddevice to implement the mobile broadband device service.

The API of the web server includes a HTTP API or a socket interface ofthe web server.

The judging module includes a correspondence storage unit configured tostore preset correspondence among the service information of the mobilebroadband device, the mobile broadband device service, and the hostfunction that needs to be called, and a collaboration judging unitconfigured to determine, according to the correspondence stored by thecorrespondence storage unit, whether the corresponding function of thehost is to be used for implementing the mobile broadband device servicecorresponding to the service information.

The collaboration judging unit includes a first determining subunitconfigured to determine, when the service information obtained by theservice information obtaining module is reminder-type serviceinformation, and there is a new reminder in the reminder-type serviceinformation, whether to call a reminder function of the host forimplementing a reminder-type service, and the service implementationmodule includes a first executing unit configured to execute thereminder function of a host by calling an OS API of the host, anddisplay reminder information in the reminder-type service information onthe host, to implement a reminder service of the mobile broadbanddevice.

The collaboration judging unit includes a second determining subunitconfigured to determine, when the service information obtained by theservice information obtaining module is network adaptation serviceinformation, whether to call a WI-FI function of the host forimplementing the mobile broadband device service corresponding to mobilebroadband service information, and the service implementation moduleincludes a second executing unit configured to obtain nearby WI-FInetwork information by calling an OS WI-FI API provided by the OS of thehost, compare the mobile broadband service information with the WI-FInetwork information, determine a current adaptive network according to apreset network adaptation standard, and establish a network connectionwith the current adaptive network.

Based on the above technical solutions, in the method for implementing amobile broadband device service according to the embodiments of thepresent disclosure, both the API of the web server and the API of thehost can be called. The corresponding function of the host is selectedand called by determining whether to collaboratively use thecorresponding function of the host for implementing the mobile broadbanddevice service corresponding to the service information, and the mobilebroadband device service is implemented using the host function. In theembodiments of the present disclosure, a mobile broadband device servicethat cannot be implemented in an existing web manner is implemented by ahost using a collaboration function of the host, limitations when themobile broadband device is managed in the web manner are reduced, and acapability of managing the mobile broadband device is improved.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in some of the embodiments of thepresent disclosure more clearly, the following briefly introduces theaccompanying drawings used for describing some of the embodiments. Theaccompanying drawings in the following description show merely someembodiments of the present disclosure, and a person of ordinary skill inthe art may still derive other drawings from these accompanying drawingswithout creative efforts.

FIG. 1 is a flowchart of a method for implementing a mobile broadbanddevice service according to an embodiment of the present disclosure;

FIG. 2 is a flowchart of a method for implementing a reminder-typeservice of a mobile broadband device according to an embodiment of thepresent disclosure;

FIG. 3 is a flowchart of a method for implementing a network adaptationservice of a mobile broadband device according to an embodiment of thepresent disclosure;

FIG. 4 is a structural block diagram of an apparatus for implementing amobile broadband device service according to an embodiment of thepresent disclosure;

FIG. 5 is a structural block diagram of a judging module according to anembodiment of the present disclosure;

FIG. 6 is a structural block diagram of a coordination judging unitaccording to an embodiment of the present disclosure;

FIG. 7 is a structural block diagram of a service implementation moduleaccording to an embodiment of the present disclosure;

FIG. 8 is a software structural diagram of a system for implementing amobile broadband device service according to an embodiment of thepresent disclosure; and

FIG. 9 is another software structural diagram of a system forimplementing a mobile broadband device service according to anembodiment of the present disclosure.

DESCRIPTION OF EMBODIMENTS

Based on an existing technology for managing a mobile broadband devicein a web manner, embodiments of the present disclosure are intended tocollaboratively use a corresponding host function based on the otherapproaches such that a mobile broadband device service that cannot beimplemented in the existing web manner is implemented by the host. Theinventors develop a piece of collaboration software at the host, and usethe collaboration software to implement calling of an API of a webserver and calling of an OS API at the host. Further, a calling rule ofthe API of the host is set so that the host and the mobile broadbanddevice cooperate with each other. Therefore, a defect when the mobilebroadband device is managed in the web manner is resolved, limitationswhen the mobile broadband device is managed in the web manner arereduced, and a capability of managing the mobile broadband device isimproved.

The following clearly describes the technical solutions in theembodiments of the present disclosure with reference to the accompanyingdrawings in the embodiments of the present disclosure. The describedembodiments are merely a part rather than all of the embodiments of thepresent disclosure. All other embodiments obtained by a person ofordinary skill in the art based on the embodiments of the presentdisclosure without creative efforts shall fall within the protectionscope of the present disclosure.

FIG. 1 is a flowchart of a method for implementing a mobile broadbanddevice service according to an embodiment of the present disclosure.Referring to FIG. 1, the method may include the following steps.

Step S100: Obtain service information of a mobile broadband device bycalling an API of a web server.

A host apparatus may obtain the service information of the mobilebroadband device by calling the API of the web server. The hostapparatus may call the API of the web server using a collaborationsoftware program installed on the host apparatus. The host apparatus maybe a user terminal device such as a PC, a mobile phone, a personaldigital assistant (PDA), and a tablet computer.

The API of the web server may be any programmable interface, including aconventional AT command, a socket interface, a serial port, a USB port,BLUETOOTH, infrared, WI-FI, or a network-interface-based HTTP API. Theweb server may be an embedded web server integrated into the mobilebroadband device, and a web management page is embedded therein. A usercan manage a data card only by opening this page using a browser on thehost apparatus.

The obtained service information of the mobile broadband device mayinclude service information included by a mobile broadband deviceservice that cannot be implemented by the existing technology formanaging the mobile broadband device in a web manner, for example,reminder-type service information (such as a short message reminder andan email reminder), mobile broadband service information (such as 3Gservice information and 4^(th) generation (4G) service information), andphone book service information, and may also include designated serviceinformation included by a mobile broadband device service that cannot beimplemented by the other approaches. The obtained service information ofthe mobile broadband device may be determined according to a practicalapplication or a user requirement, and is not limited by the presentdisclosure.

Optionally, step S100 may be executed by a processor of the hostapparatus.

Step S200: Determine whether to collaboratively use a correspondingfunction of the host for implementing a mobile broadband device servicecorresponding to the service information, and if yes, execute thecorresponding function of the host by calling a corresponding API of thehost to implement the mobile broadband device service.

Optionally, correspondence among the service information of the mobilebroadband device, the mobile broadband device service, and the hostfunction that needs to be called may be preset, and whether tocollaboratively use the corresponding function of the host forimplementing the mobile broadband device service corresponding to theservice information is determined using the preset correspondence amongthe three, where the corresponding mobile broadband device service maybe determined using the service information of the mobile broadbanddevice obtained in step S100. For example, the reminder-type serviceinformation, such as a short message reminder and an email reminder,corresponds to a reminder service, and the mobile broadband serviceinformation, such as, 3G service information and 4G service information,corresponds to a network adaptation service. For a situation where atype of service information corresponds to multiple types of mobilebroadband device services, the mobile broadband device services may beset correspondingly according to a practical application or a userrequirement. The host function that needs to be called is anindispensable function for implementing the corresponding mobilebroadband device service. For example, the reminder service needs tocall a reminder function of the host, and the network adaptation serviceneeds to call a WI-FI function of the host in order to implementswitching between mobile broadband and WI-FI.

After obtaining the service information in step S100, the host apparatuscalls the preset correspondence among the service information of themobile broadband device, the mobile broadband device service, and thehost function that needs to be called, and searches for the mobilebroadband device service corresponding to the obtained serviceinformation and the corresponding host function that needs to becollaboratively used. If a correspondence combination of the obtainedservice information, the corresponding mobile broadband device service,and the corresponding host function that needs to be collaborativelyused can be found from the preset correspondence among the three, it isdetermined whether to collaboratively use a corresponding function ofthe host for implementing the mobile broadband device servicecorresponding to the service information obtained in step S100. The hostapparatus calls the corresponding API of the host to execute thecorresponding function using the host OS, thereby implementing themobile broadband device service.

Optionally, if the obtained service information cannot be found from thecorrespondence, or it is unnecessary to call the host function to findthe mobile broadband device service corresponding to the obtainedservice information, the mobile broadband device service is implementeddirectly without calling the host function. For a specific method forimplementing the mobile broadband device service directly, reference maybe made to the existing technology for managing the mobile broadbanddevice in a web manner.

Optionally, the correspondence among the service information of themobile broadband device, the mobile broadband device service, and thehost function that needs to be called may be stored in the hostapparatus in the form of a list.

Optionally, on the basis of the preset correspondence among the serviceinformation of the mobile broadband device, the mobile broadband deviceservice, and the host function that needs to be called, a currentworking state of the mobile broadband device may further be added toform correspondence among the current working state of the mobilebroadband device, the service information of the mobile broadbanddevice, the mobile broadband device service, and the host function thatneeds to be called, where the current working state of the mobilebroadband device includes the following. The mobile broadband device isdetached from a web management page and the mobile broadband device isaccessing a web management page. That the mobile broadband device isdetached from the web management page indicates that the user is notusing a browser to open the web management page on the host apparatus tomanage the mobile broadband device. That the mobile broadband device isaccessing the web management page indicates that the user is using thebrowser to open the web management page on the host apparatus to managethe mobile broadband device. Whether to collaboratively use acorresponding function of the host for the mobile broadband device inthe current working state to implement the mobile broadband deviceservice corresponding to the service information is determined accordingto the correspondence among the four. For example, it is determinedwhether to call the reminder function of the host for a reminder-typeservice in the working state in which the mobile broadband device isdetached from the web management page, and it is determined that thereminder function of the host is not called for a reminder-type servicein the working state in which the mobile broadband device is accessingthe web management page, and that the reminder-type service is directlyimplemented in an existing web manner.

Optionally, step S200 may be executed by a processor of the hostapparatus.

FIG. 1 shows a method for implementing a mobile broadband device serviceaccording to an embodiment, where both the API of the web server and theAPI of the host can be called. The corresponding function of the host isselected and called by determining whether to collaboratively use thecorresponding function of the host for implementing the mobile broadbanddevice service corresponding to the service information, and the mobilebroadband device service is implemented using the host function. In theembodiment of the present disclosure, a mobile broadband device servicethat cannot be implemented in the existing web manner is implemented bythe host using a collaboration function of the host. Therefore, a defectwhen the mobile broadband device is managed in the web manner isresolved, and all services of the mobile broadband device areimplemented.

In the existing technology for managing the mobile broadband device inthe web manner, there are many mobile broadband device services that canbe hardly implemented, for example, calling of a camera and calling of aheadset, but the reminder-type service detached from the web managementpage and a resource access-type service of the host are most typical.The resource access-type service of the host includes, for example,access to a WI-FI function of the host. The specific technical solutionsfor implementing the mobile broadband device service according to theembodiments of the present disclosure will be described hereinafter withreference to the two typical types of mobile broadband device servicesthat can be hardly implemented in the existing technology for managingthe mobile broadband device in the web manner, where the resourceaccess-type service of the host is described using a network adaptationservice. For ease of description, the API of the web server mentionedhereinafter is an HTTP API.

FIG. 2 is a flowchart of a method for implementing a reminder-typeservice of a mobile broadband device according to an embodiment of thepresent disclosure. Referring to FIG. 2, the method may include thefollowing steps.

Step S101: Obtain service information of a mobile broadband device bycalling an HTTP API or a socket interface of a web server.

Step S201: If the obtained service information is reminder-type serviceinformation, and there is a new reminder in the reminder-type serviceinformation, determine whether to call a reminder function of a host forimplementing a reminder-type service.

When the obtained service information is the reminder-type serviceinformation, it is determined that a corresponding mobile broadbanddevice service is a reminder-type service, and when there is a newreminder in the obtained reminder-type service information, it isdetermined whether to call the reminder function of the host forimplementing the reminder-type service corresponding to thereminder-type service information.

Step S301: Execute the reminder function of the host by calling an OSAPI of the host, and display the new reminder in the reminder-typeservice information on the host to implement a reminder service of themobile broadband device.

Optionally, correspondence among the reminder-type service information,the reminder service of the mobile broadband device, and the reminderfunction of the host may be preset.

Executing the reminder function of the host and displaying the newreminder in the reminder-type service information on the host toimplement a reminder service of the mobile broadband device may bedisplaying a message prompt box on an OS interface of the host using atray icon function of the host OS, and displaying the new reminder inthe reminder-type service information in the message prompt box toimplement the reminder service of the mobile broadband device.

Optionally, correspondence among the reminder-type service information,the reminder-type service of the mobile broadband device, a workingstate in which the mobile broadband device is detached from the webmanagement page, and the reminder function of the host may be preset.Step S201 further includes determining whether a current working stateof the mobile broadband device corresponds to the working state of themobile broadband device in the preset correspondence among the four, andif yes, calling the reminder function of the host.

FIG. 3 is a flowchart of a method for implementing a network adaptationservice of a mobile broadband device according to an embodiment of thepresent disclosure. Referring to FIG. 3, the method may include thefollowing steps.

Step S102: Obtain service information of a mobile broadband device bycalling an HTTP API of a web server.

Step S202: If the service information is mobile broadband serviceinformation, determine whether to call a wireless broadband WI-FIfunction of a host for implementing a mobile broadband device servicecorresponding to the mobile broadband service information.

If the service information is the mobile broadband service information,it is determined that the corresponding mobile broadband device serviceis a network adaptation service, and whether to call the wirelessbroadband WI-FI function of the host for implementing the networkadaptation service.

Step S302: Obtain nearby WI-FI information by calling an OS WI-FI API ofthe host to implement the mobile broadband device service correspondingto the mobile broadband service information.

The nearby WI-FI information is obtained by calling the OS WI-FI API ofthe host, the mobile broadband service information is compared with theWI-FI information, a current adaptive network is determined according toa preset network adaptation standard, and a network connection isestablished with the current adaptive network.

Optionally, correspondence among the mobile broadband serviceinformation, the network adaptation service, and the host WI-FI functionmay be preset. After the mobile broadband service information isobtained, the host WI-FI function is directly called to implement thenetwork adaptation service of the mobile broadband device.

The mobile broadband service information may be 3G service informationor 4G service information, and the 3G service information may includecurrent 3G signal strength and an operator name. The mobile broadbandservice information that can be obtained by calling an HTTP 3G API ofthe web server is the 3G service information.

The nearby WI-FI information can be obtained by calling the host WI-FIfunction and searching for a nearby WI-FI hotspot, signal strength, andthe like. According to the mobile broadband service information and theWI-FI information, the current adaptive network is determined using thepreset network adaptation standard, and a network connection isestablished with the adaptive network. Therefore, a network adaptationtask of the mobile broadband device can be implemented.

A problem of accessing a host resource, such as a camera function and aheadset function, which cannot be implemented by the existing technologyfor managing the mobile broadband device in a web manner, can beimplemented by collaboratively using a corresponding host function basedon the principle disclosed in the present disclosure. For specificimplementation methods, reference may be made to each other, and detailswill not be described herein again.

FIG. 4 is a structural block diagram of an apparatus for implementing amobile broadband device service according to an embodiment of thepresent disclosure. Referring to FIG. 4, the apparatus for implementinga mobile broadband device service may be a host apparatus, including auser terminal device such as a PC, a mobile phone, a PDA, and a tabletcomputer. The apparatus for implementing a mobile broadband deviceservice may include a service information obtaining module 100, ajudging module 200, and a service implementation module 300.

The service information obtaining module 100 is configured to obtainservice information of a mobile broadband device by calling an API of aweb server.

The host apparatus may call the API of the web server in real time orperiodically to obtain current service information of the mobilebroadband device, and may also obtain the service information of themobile broadband device according to a rule set by a user.

The API of the web server may be any programmable interface, including aconventional AT command, a socket interface, a serial port, a USB port,BLUETOOTH, infrared, WI-FI, or a network-interface-based HTTP API. Theweb server may be an embedded web Server integrated into the mobilebroadband device, and a web management page is embedded therein. Theuser can manage a data card only by opening this page using a browser onthe host apparatus.

The judging module 200 is configured to determine whether tocollaboratively use a corresponding function of the host forimplementing a mobile broadband device service corresponding to theservice information obtained by the service information obtaining module100.

After obtaining the service information of the mobile broadband device,the host apparatus determines whether to collaboratively use acorresponding function of its own for implementing the mobile broadbanddevice service corresponding to the service information.

For a structure of the judging module 200, reference may be made to FIG.5, and the judging module 200 includes a mapping relationship storageunit 210 (also called a correspondence storage unit) configured to storepreset correspondence among the service information of the mobilebroadband device, the mobile broadband device service, and the hostfunction that needs to be called, and a coordination judging unit 220(also called a collaboration judging unit) configured to determine,according to the correspondence among the three stored by the mappingrelationship storage unit 210, whether to collaboratively use thecorresponding function of the host for implementing the mobile broadbanddevice service corresponding to the service information.

FIG. 6 is a structural block diagram of the coordination judging unit220. Referring to FIG. 6, the coordination judging unit 220 may includea first determining subunit 221 and a second determining subunit 222.

The first determining subunit 221 is configured to determine, when theservice information obtained by the service information obtaining module100 is reminder-type service information, and there is a new reminder inthe reminder-type service information, whether to call a reminderfunction of the host for implementing a reminder-type service.

When the service information obtained by the service informationobtaining module 100 is the reminder-type service information, and thereis a new reminder in the reminder-type service information, the firstdetermining subunit 221 determines that the corresponding mobilebroadband device service is the reminder-type service, and whether tocall the reminder function of the host for implementing thereminder-type service.

The second determining subunit 222 is configured to determine, when theservice information obtained by the service information obtaining module100 is mobile broadband service information, whether to call a wirelessbroadband WI-FI function of the host for implementing the mobilebroadband device service corresponding to the mobile broadband serviceinformation.

When the service information obtained by the service informationobtaining module 100 is the mobile broadband service information, it isdetermined that the corresponding mobile broadband device service is anetwork adaptation service, and whether to call the wireless broadbandWI-FI function of the host for implementing the network adaptationservice.

The mobile broadband service information may be 3G service informationor 4G service information, and the 3G service information may includecurrent 3G signal strength and an operator name. The mobile broadbandservice information that can be obtained by calling an HTTP 3G API ofthe web server is the 3G service information.

The service implementation module 300 is configured to execute, in acase where a judgment result of the judging module 200 is yes, thecorresponding function of the host by calling a corresponding API of thehost, to implement the mobile broadband device service.

After determining whether to collaboratively use a correspondingfunction of its own for implementing the mobile broadband device servicecorresponding to the service information, the host apparatus calls thecorresponding function of its own to implement the mobile broadbanddevice service.

FIG. 7 shows a structural block diagram of the service implementationmodule 300 corresponding to FIG. 6, where the service implementationmodule 300 includes a first executing unit 310 configured to execute,after the first determining subunit 211 determines whether to call thereminder function of the host, the reminder function of the host bycalling an OS API of the host, and display the new reminder in thereminder-type service information on the host to implement a reminderservice of the mobile broadband device, and a second executing unit 320configured to obtain, after the second determining subunit 222determines whether to call the host WI-FI function, nearby WI-FIinformation by calling an OS WI-FI API of the host, to implement themobile broadband device service corresponding to the mobile broadbandservice information.

The second executing unit 320 may obtain the nearby WI-FI information bycalling the OS WI-FI API of the host, compare the mobile broadbandservice information with the WI-FI information, determine a currentadaptive network according to a preset network adaptation standard, andestablish a network connection with the adaptive network.

Optionally, the mapping relationship storage unit 210 may be furtherconfigured to store preset correspondence among the current workingstate of the mobile broadband device, the service information of themobile broadband device, the mobile broadband device service, and thehost function that needs to be called.

Optionally, the coordination judging unit 220 may be further configuredto determine, according to the correspondence among the four stored bythe mapping relationship storage unit 210, whether to collaborativelyuse the corresponding function of the host for the mobile broadbanddevice in a current working state to implement the mobile broadbanddevice service corresponding to the service information. For example, itis determined whether to call the reminder function of the host for areminder-type service in the working state in which the mobile broadbanddevice is detached from the web management page, and it is determinedthat the reminder function of the host is not called for a reminder-typeservice in the working state in which the mobile broadband device isaccessing the web management page, and that the reminder-type service isdirectly implemented in an existing web manner.

It should be noted that, the apparatus for implementing a mobilebroadband device service as shown in the embodiment of the presentdisclosure may be the host apparatus installed with the collaborationsoftware provided by the embodiment of the present disclosure. For thefunction implemented by the collaboration software, reference may be tothe method for implementing a mobile broadband device service as shownin the embodiment of the present disclosure. A specific softwarearchitecture of the collaboration software provided by the embodiment ofthe present disclosure is shown hereinafter, to make the method and theapparatus for implementing a mobile broadband device service accordingto the embodiments of the present disclosure clearer. Referring to FIG.8, the software architecture may include a basic framework, a tightlycoupled application, and a collaboration system software development kit(SDK).

The tightly coupled application mainly refers to an application whichhas a close relationship with the mobile broadband device service, forexample, a reminder-type service and a network adaptation service. Thistype of application can be implemented by calling a C/C++ interfaceprovided by the collaboration system SDK for the application duringprogramming, and definitely can be implemented by calling otherinterfaces.

FIG. 9 shows another software structural diagram of a system forimplementing a mobile broadband device service according to the presentdisclosure. Compared with FIG. 8, FIG. 9 further includes a looselycoupled application, a web page link, and a web application.

The loosely coupled application mainly refers to an application thatdoes not have a close relationship with the mobile broadband deviceservice. For example, a web browser may be integrated into the looselycoupled application. Because a direct relationship between this type ofapplication and the mobile broadband device is not obvious, a file pathand a command line parameter and so on of the application can beconfigured only using an Extensible Markup Language (XML) duringprogramming without calling the C/C++ interface, and definitely, otherinterfaces can also be used.

The web page link can also be configured using the XML.

The web application is similar to the tightly coupled application, butthe programming thereof is a web manner. The application may beprogrammed using an HyperText Markup Language (HTML)/JAVASCRIPTinterface provided by the system SDK. A purpose of setting theapplication is merely maintaining consistent user experience with a webmanagement solution of the mobile broadband device.

The embodiments in the specification are described in a progressivemanner. Each embodiment emphasizes differences from other embodiments,and reference may be made to each other for the same or similar parts ofthe embodiments. Because the apparatus disclosed in the embodimentscorresponds to the method disclosed in the embodiments, theirdescriptions are simple, and for relevant parts of the descriptions,reference may be made to the method.

A person skilled in the art may be further aware that, in combinationwith the examples described in the embodiments disclosed in thisspecification, units and algorithm steps may be implemented byelectronic hardware, computer software, or a combination thereof. Toclearly describe the interchangeability between the hardware and thesoftware, the foregoing has generally described compositions and stepsof each example according to functions. Whether the functions areperformed by hardware or software depends on particular applications anddesign constraint conditions of the technical solutions. A personskilled in the art may use different methods to implement the describedfunctions for each particular application, but it should not beconsidered that the implementation goes beyond the scope of the presentdisclosure.

The steps of the method or algorithm described with reference to theembodiments disclosed herein may be implemented using hardware, asoftware program executed by a processor, or a combination thereof. Thesoftware module may be placed in a random access memory (RAM), a memory,a read-only memory (ROM), an electrically programmable ROM, anelectrically erasable programmable ROM, a register, a hard disk, aremovable magnetic disk, a compact disc-ROM (CD-ROM), or a storagemedium of any other form well-known in the art.

Based on the foregoing descriptions of the disclosed embodiments, aperson skilled in the art can implement or use the present disclosure.Multiple modifications of the embodiments are obvious for a personskilled in the art, and the general principle defined in thespecification can be implemented in other embodiments without departingfrom the spirit and scope of the present disclosure. Therefore, thepresent disclosure will not be limited to the embodiments shown in thespecification, but should be accorded the widest scope consistent withthe principles and novel features disclosed in the specification.

What is claimed is:
 1. A method implemented by a host, the methodcomprising: obtaining service information of a mobile broadband deviceby calling an application programming interface (API) of a web server onthe mobile broadband device; calling a reminder function of the host forimplementing a reminder-type service when the service information isreminder-type service information comprising a new reminder; executingthe reminder function by calling an operating system (OS) API;displaying the new reminder; running a browser; and displaying theservice information in the browser.
 2. The method of claim 1, furthercomprising: displaying a message prompt box on an OS interface; anddisplaying the new reminder in the message prompt box.
 3. The method ofclaim 1, wherein the web server is an embedded web server integratedinto the mobile broadband device, and wherein the web server is embeddedwith a web management page.
 4. The method of claim 1, wherein the API ofthe web server comprises a Hypertext Transfer Protocol (HTTP) API. 5.The method of claim 1, wherein the API of the web server comprises asocket interface of the web server.
 6. The method of claim 1, whereinthe reminder function is for implementing a mobile broadband deviceservice corresponding to the service information, and wherein the mobilebroadband device service is implemented directly without calling thereminder function.
 7. A host for implementing a mobile broadband deviceservice, comprising: a memory configured to store one or more programs;and a processor coupled to a transceiver and the memory, wherein theprocessor is configured to execute the one or more programs to cause thehost to: obtain service information of a mobile broadband device bycalling an application programming interface (API) of a web server onthe mobile broadband device; call a reminder function of the host forimplementing a reminder-type service when the service information isreminder-type service information comprising a new reminder; execute thereminder function of the host by calling an operating system (OS) API;display the new reminder; run a browser on the host; and display theservice information in the browser.
 8. The host of claim 7, wherein theprocessor is further configured to execute the one or more programs tocause the host to: display a message prompt box on an OS interface; anddisplay the new reminder in the message prompt box.
 9. The host of claim7, wherein the web server is an embedded web server integrated into themobile broadband device, and wherein the web server is embedded with aweb management page.
 10. The host of claim 7, wherein the API of the webserver comprises a Hypertext Transfer Protocol (HTTP) API.
 11. The hostof claim 7, wherein the API of the web server comprises a socketinterface of the web server.
 12. The host of claim 7, wherein thereminder function is to be used for implementing the mobile broadbanddevice service corresponding to the service information, and wherein themobile broadband device service is implemented directly without callingthe reminder function.
 13. A computer program product comprisingcomputer-executable instructions for storage on a non-transitorycomputer-readable medium that, when executed by a processor, cause ahost to: obtain service information of a mobile broadband device bycalling an application programming interface (API) of a web server onthe mobile broadband device; call a reminder function of the host forimplementing a reminder-type service when the service information isreminder-type service information including a new reminder; execute thereminder function by calling an operating system (OS) API; display thenew reminder; run a browser; and display the service information in thebrowser.
 14. The computer program product of claim 13, wherein thecomputer-executable instructions further cause the host to: display amessage prompt box on an OS interface; and display the new reminder inthe message prompt box.
 15. The computer program product of claim 13,wherein the web server is an embedded web server integrated into themobile broadband device, and wherein the web server is embedded with aweb management page.
 16. The computer program product of claim 13,wherein the API of the web server comprises a Hypertext TransferProtocol (HTTP) API.
 17. The computer program product of claim 13,wherein the API of the web server comprises a socket interface of theweb server.
 18. The computer program product of claim 13, wherein thereminder function is to be used for implementing a mobile broadbanddevice service corresponding to the service information, and wherein themobile broadband device service is implemented directly without callingthe reminder function.
 19. The computer program product of claim 13,wherein the API of the web server comprises a universal serial bus (USB)port API.
 20. The computer program product of claim 13, wherein the APIof the web server comprises a BLUETOOTH API.